package com.yuyou.train.lesson.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.train.lesson.service.IResourceQuestionService;
import com.yuyou.train.service.api.lesson.entity.ResourceQuestion;
import com.yuyou.train.service.api.lesson.service.QuestionAPI;





@RestController
public class QuestionAPIImpl implements QuestionAPI {

	@Autowired
	private IResourceQuestionService resourceQuestionService;
	
	@Override
	public ResourceQuestion selectQuestionById(String id) {
		return resourceQuestionService.selectByPrimaryKey(id);
	}
	

	
	
}
